<template>
  <div id="navmenu">  
      
    <el-container class="big-box">
      <!-- 头部区域 -->
      
      
      
     
      <el-container class="left-box">
          <!-- 左边区域 -->
        <el-aside width="210px">
           <div style="text-align: center;padding:20px;">
                  <img src="@/assets/images/login_bg1.png" />
                  <div style="color:black;margin-top:10px;">管理系统</div>
              </div>
          <nav-menu></nav-menu>
        </el-aside>
           <!-- 右边区域 -->
        <el-main class="right_bg">
              <el-header style="margin-bottom:0px;line-height: inherit;">
                <top-header></top-header>
              </el-header>
              
                  <div style="padding:11px 0px 11px 15px;">   
                      <breadcrumb></breadcrumb>
                  </div> 
                  <div style="padding:0px 15px 15px 15px;">   
                      <div style="padding:20px;box-shadow: rgb(224, 233, 252) 2px 4px 17px;">
                        <keep-alive>
                                <router-view v-if="$route.meta.keepAlive"></router-view>
                        </keep-alive>
                        <router-view v-if="!$route.meta.keepAlive"></router-view>
                      </div>
                  </div>
        </el-main>
      </el-container>
    </el-container>

      
  </div>
</template>

<script>
import NavMenu from '@/components/NavMenu/NavMenu'
import TopHeader from '@/components/Header/Header'
import Breadcrumb from '@/components/Tab/Breadcrumb'
export default {
  name: 'navmenu',
  data () {
    return {
      
    }
  },
   components:{
     NavMenu,
     TopHeader,
     Breadcrumb
    //  Tab
  },
  created(){
      
  },
  mounted (){
    
  },
  methods: {
    
  }
}
</script>


<style scoped>

.el-main{
  padding:0px;
  border-right:0px;
   /* background:#f5f5f5; */
   box-shadow: rgb(224, 233, 252) 2px 4px 17px;
}
#navmenu{
  height: 100%;
}
.big-box{
  height: 100%;
}
.el-header {
    background-color: #B3C0D1;
    color: #333;
    line-height: 60px;
  }
.left-box{
    /* height: calc(100% - 60px); */
      height: calc(100%);
}
.el-aside{
    height: 100%;
    overflow: auto;
    scrollbar-width: none; /* firefox */
    -ms-overflow-style: none; /* IE 10+ */
    /* background-color: rgb(84, 92, 100); */
    /* background:white; */
    box-shadow: 3px 3px 7px 0px #E0E9FC;

}
.el-aside::-webkit-scrollbar {
  display: none; /* Chrome Safari */
}


</style>
